#ifndef TRAINMANAGEMENT_H
#define TRAINMANAGEMENT_H

#include "DataStruct.h"

class TrainManagement
{
private:
    static Train train;
public:
    static void deleteStation(int index);
    static void addStation(Station station, QTime time, int index);

    static void addTrain(QString trainNum);
    static void deleteTrain();
    static void modifyTrain();
    static void queryTrain(QString TrainNum);

    static QString* getTrainList();
    static QString getTrainNum();
    static void clearTrain();
};

#endif // TRAINMANAGEMENT_H
